<?php

namespace App\Library\Traits\Orm;

use App\Models\ShopUserModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

trait CartOrmTrait
{
    public function user(): BelongsTo
    {
        return $this->belongsTo(ShopUserModel::class, 'user_id');
    }
}
